package com.nbk.composition.dao.bean

import com.baomidou.mybatisplus.annotation.IdType
import com.baomidou.mybatisplus.annotation.TableId
import com.baomidou.mybatisplus.annotation.TableName

/**
 * Author:  LuoHaoLun
 * Email :  506503279@qq.com
 * Date  :  2021/5/25
 */
@TableName(value = "composition_order", autoResultMap = true)
data class Order(
@TableId(type = IdType.AUTO)
var id: Int = -1,
var payType: String = "",   // 支付类型：单次、多次
var payMode: String = "",   // 支付方式：微信、支付宝
var orderAmount: String = "",   // 订单金额
var paidAmount: String = "",    // 支付金额
var payTime: String = "",       // 交易时间
var batchNumber: String = "",   // 交易流水号
var residueCount:Int = 0,        // 剩余提交次数
var totalCount :Int = 0,         // 总批改次数

var studentId: Int = -1,
var teacherId: Int = -1,
var compositionId: Int = -1,
)